<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>星座运程 - StarSocial</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        :root {
            --primary: #6366f1;
            --primary-light: #e0e7ff;
            --secondary: #ec4899;
            --secondary-light: #fee2e2;
            --light-gray: #f3f4f6;
            --dark-gray: #1f2937;
            --text-gray: #6b7280;
            --border-color: #e5e7eb;
            
            /* 星座颜色 */
            --aries: #e63946;
            --taurus: #4cc9f0;
            --gemini: #f72585;
            --cancer: #4361ee;
            --leo: #ffb703;
            --virgo: #38b000;
            --libra: #9d4edd;
            --scorpio: #d9ed92;
            --sagittarius: #fb8500;
            --capricorn: #0077b6;
            --aquarius: #8338ec;
            --pisces: #588157;
        }
        
        body {
            background-color: #fafafa;
            font-family: 'Inter', system-ui, -apple-system, sans-serif;
            color: var(--dark-gray);
            line-height: 1.6;
        }
        
        .container {
            max-width: 1200px;
        }
        
        /* 头部样式 */
        .site-header {
            background-color: white;
            border-bottom: 1px solid var(--border-color);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        .logo {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .logo i {
            font-size: 1.8rem;
        }
        
        .search-container {
            position: relative;
            max-width: 500px;
            width: 100%;
        }
        
        .search-input {
            background-color: var(--light-gray);
            border: none;
            padding: 0.6rem 1rem 0.6rem 2.5rem;
            border-radius: 8px;
            width: 100%;
        }
        
        .search-icon {
            position: absolute;
            left: 0.8rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-gray);
        }
        
        .nav-links .nav-link {
            color: var(--dark-gray);
            font-weight: 500;
            margin-left: 1.5rem;
            transition: color 0.2s;
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }
        
        .nav-links .nav-link:hover,
        .nav-links .nav-link.active {
            color: var(--primary);
        }
        
        .avatar {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            object-fit: cover;
            cursor: pointer;
        }
        
        /* 筛选区域样式 */
        .filters-section {
            background-color: white;
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            padding: 1.5rem;
            margin-bottom: 2rem;
        }
        
        .filter-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }
        
        .filter-title {
            font-size: 1.25rem;
            font-weight: 600;
        }
        
        .reset-filters {
            color: var(--primary);
            background: none;
            border: none;
            font-size: 0.9rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }
        
        .filter-group {
            margin-bottom: 1.5rem;
        }
        
        .filter-label {
            font-weight: 600;
            margin-bottom: 0.75rem;
            display: block;
        }
        
        .filter-options {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
        }
        
        .filter-chip {
            background-color: var(--light-gray);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            padding: 0.35rem 1rem;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }
        
        .filter-chip:hover {
            transform: translateY(-2px);
        }
        
        .filter-chip.active {
            color: white;
            border-color: transparent;
        }
        
        /* 星座芯片特殊样式 */
        .aries.active { background-color: var(--aries); }
        .taurus.active { background-color: var(--taurus); }
        .gemini.active { background-color: var(--gemini); }
        .cancer.active { background-color: var(--cancer); }
        .leo.active { background-color: var(--leo); }
        .virgo.active { background-color: var(--virgo); }
        .libra.active { background-color: var(--libra); }
        .scorpio.active { background-color: var(--scorpio); color: var(--dark-gray); }
        .sagittarius.active { background-color: var(--sagittarius); }
        .capricorn.active { background-color: var(--capricorn); }
        .aquarius.active { background-color: var(--aquarius); }
        .pisces.active { background-color: var(--pisces); }
        
        .date-range {
            display: flex;
            gap: 1rem;
        }
        
        .date-input {
            flex: 1;
            padding: 0.5rem 0.75rem;
            border: 1px solid var(--border-color);
            border-radius: 6px;
        }
        
        .filter-actions {
            display: flex;
            justify-content: flex-end;
            gap: 1rem;
            margin-top: 1rem;
        }
        
        .action-button {
            padding: 0.5rem 1.5rem;
            border-radius: 6px;
            font-weight: 500;
            font-size: 0.95rem;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .btn-clear {
            background-color: white;
            border: 1px solid var(--border-color);
            color: var(--dark-gray);
        }
        
        .btn-apply {
            background-color: var(--primary);
            color: white;
            border: none;
        }
        
        .btn-apply:hover {
            background-color: #4f46e5;
        }
        
        /* 筛选结果区 */
        .results-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }
        
        .results-count {
            font-size: 0.95rem;
            color: var(--text-gray);
        }
        
        .sort-options {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .sort-label {
            font-size: 0.95rem;
            color: var(--text-gray);
        }
        
        .sort-select {
            padding: 0.4rem 0.75rem;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            background-color: white;
            font-size: 0.9rem;
        }
        
        /* 活跃筛选条件 */
        .active-filters {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin-bottom: 1.5rem;
            padding: 1rem;
            background-color: var(--primary-light);
            border-radius: 8px;
        }
        
        .active-filter {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            background-color: white;
            padding: 0.3rem 0.75rem;
            border-radius: 20px;
            font-size: 0.9rem;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }
        
        .remove-filter {
            color: var(--text-gray);
            cursor: pointer;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }
        
        .remove-filter:hover {
            background-color: var(--light-gray);
            color: var(--dark-gray);
        }
        
        /* 星座运程列表样式 */
        .horoscope-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }
        
        .horoscope-card {
            background-color: white;
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            overflow: hidden;
            transition: transform 0.2s, box-shadow 0.2s;
            text-decoration: none;
            color: var(--dark-gray);
        }
        
        .horoscope-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            color: var(--dark-gray);
        }
        
        .horoscope-header {
            padding: 1.25rem;
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        
        .zodiac-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: white;
        }
        
        .zodiac-info h3 {
            font-size: 1.25rem;
            font-weight: 600;
            margin: 0;
        }
        
        .zodiac-date {
            font-size: 0.85rem;
            color: var(--text-gray);
        }
        
        .horoscope-content {
            padding: 0 1.25rem 1.25rem;
        }
        
        .prediction-date {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.8rem;
            background-color: var(--primary-light);
            color: var(--primary);
            margin-bottom: 1rem;
        }
        
        .horoscope-description {
            font-size: 0.95rem;
            margin-bottom: 1rem;
            line-height: 1.6;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .fortunes {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0.75rem;
            margin-bottom: 1rem;
        }
        
        .fortune-item {
            text-align: center;
        }
        
        .fortune-label {
            font-size: 0.75rem;
            color: var(--text-gray);
            margin-bottom: 0.25rem;
        }
        
        .fortune-value {
            font-weight: 600;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.25rem;
        }
        
        .stars {
            color: #ffb703;
        }
        
        .tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }
        
        .tag {
            background-color: var(--light-gray);
            color: var(--text-gray);
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.8rem;
        }
        
        .horoscope-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 1rem;
            border-top: 1px solid var(--border-color);
            font-size: 0.85rem;
            color: var(--text-gray);
        }
        
        .author {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .author-avatar {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .horoscope-actions {
            display: flex;
            gap: 1rem;
        }
        
        .action-btn {
            background: none;
            border: none;
            color: var(--text-gray);
            font-size: 0.85rem;
            display: flex;
            align-items: center;
            gap: 0.25rem;
            cursor: pointer;
            transition: color 0.2s;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
        }
        
        .action-btn:hover {
            color: var(--primary);
            background-color: var(--primary-light);
        }
        
        .action-btn.liked {
            color: var(--secondary);
        }
        
        .action-btn.saved {
            color: var(--primary);
        }
        
        /* 分页控件 */
        .pagination-container {
            display: flex;
            justify-content: center;
            margin-top: 2rem;
        }
        
        .pagination {
            display: flex;
            gap: 0.5rem;
        }
        
        .page-btn {
            width: 36px;
            height: 36px;
            border-radius: 6px;
            border: 1px solid var(--border-color);
            background-color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .page-btn:hover {
            border-color: var(--primary);
            color: var(--primary);
        }
        
        .page-btn.active {
            background-color: var(--primary);
            color: white;
            border-color: var(--primary);
        }
        
        .page-btn.disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }
        
        /* 响应式设计 */
        @media (max-width: 992px) {
            .horoscope-container {
                grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
            }
        }
        
        @media (max-width: 768px) {
            .search-container {
                max-width: 200px;
            }
            
            .date-range {
                flex-direction: column;
                gap: 0.75rem;
            }
            
            .date-input {
                width: 100%;
            }
            
            .horoscope-container {
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            }
        }
        
        @media (max-width: 576px) {
            .search-container {
                display: none;
            }
            
            .filter-options {
                gap: 0.5rem;
            }
            
            .filter-chip {
                padding: 0.3rem 0.75rem;
                font-size: 0.85rem;
            }
            
            .results-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.75rem;
            }
            
            .horoscope-container {
                grid-template-columns: 1fr;
            }
        }
    </style>
</head>
<body>
    <!-- 网站头部 -->
    <header class="site-header py-3">
        <div class="container">
            <div class="d-flex justify-content-between align-items-center">
                <a href="#" class="logo">
                    <i class="fas fa-star"></i>
                    StarSocial
                </a>
                
                <div class="search-container">
                    <i class="fas fa-search search-icon"></i>
                    <input type="text" class="search-input" placeholder="搜索星座运程...">
                </div>
                
                <nav class="nav-links d-flex align-items-center">
                    <a href="#" class="nav-link">
                        <i class="fas fa-home"></i>
                        <span class="nav-text">首页</span>
                    </a>
                    <a href="#" class="nav-link active">
                        <i class="fas fa-moon"></i>
                        <span class="nav-text">星座运程</span>
                    </a>
                    <a href="#" class="nav-link">
                        <i class="fas fa-heart"></i>
                        <span class="nav-text">情感配对</span>
                    </a>
                    <a href="#" class="nav-link">
                        <i class="fas fa-bell"></i>
                        <span class="nav-text">通知</span>
                    </a>
                    <img src="https://picsum.photos/100/100?random=1" alt="用户头像" class="avatar ms-2">
                </nav>
            </div>
        </div>
    </header>
    
    <!-- 主体内容区 -->
    <div class="main-content py-4">
        <div class="container">
            <!-- 筛选区域 -->
            <section class="filters-section">
                <div class="filter-header">
                    <h2 class="filter-title">星座筛选</h2>
                    <button class="reset-filters">
                        <i class="fas fa-sync-alt"></i> 重置所有筛选
                    </button>
                </div>
                
                <div class="row">
                    <!-- 左侧筛选条件 -->
                    <div class="col-md-6">
                        <!-- 星座筛选 -->
                        <div class="filter-group">
                            <label class="filter-label">星座类型</label>
                            <div class="filter-options">
                                <div class="filter-chip active">
                                    <i class="fas fa-star"></i> 全部星座
                                </div>
                                <div class="filter-chip aries">
                                    <i class="fas fa-fire"></i> 白羊座
                                </div>
                                <div class="filter-chip taurus">
                                    <i class="fas fa-bull"></i> 金牛座
                                </div>
                                <div class="filter-chip gemini">
                                    <i class="fas fa-user-friends"></i> 双子座
                                </div>
                                <div class="filter-chip cancer">
                                    <i class="fas fa-crab"></i> 巨蟹座
                                </div>
                                <div class="filter-chip leo">
                                    <i class="fas fa-lion"></i> 狮子座
                                </div>
                                <div class="filter-chip virgo">
                                    <i class="fas fa-venus"></i> 处女座
                                </div>
                                <div class="filter-chip libra">
                                    <i class="fas fa-balance-scale"></i> 天秤座
                                </div>
                                <div class="filter-chip scorpio">
                                    <i class="fas fa-scorpion"></i> 天蝎座
                                </div>
                                <div class="filter-chip sagittarius">
                                    <i class="fas fa-arrow-right"></i> 射手座
                                </div>
                                <div class="filter-chip capricorn">
                                    <i class="fas fa-goat"></i> 摩羯座
                                </div>
                                <div class="filter-chip aquarius">
                                    <i class="fas fa-water"></i> 水瓶座
                                </div>
                                <div class="filter-chip pisces">
                                    <i class="fas fa-fish"></i> 双鱼座
                                </div>
                            </div>
                        </div>
                        
                        <!-- 运程类型 -->
                        <div class="filter-group">
                            <label class="filter-label">运程类型</label>
                            <div class="filter-options">
                                <div class="filter-chip active">
                                    <i class="fas fa-list"></i> 全部类型
                                </div>
                                <div class="filter-chip">
                                    <i class="fas fa-heart"></i> 爱情运
                                </div>
                                <div class="filter-chip">
                                    <i class="fas fa-briefcase"></i> 事业运
                                </div>
                                <div class="filter-chip">
                                    <i class="fas fa-money-bill"></i> 财运
                                </div>
                                <div class="filter-chip">
                                    <i class="fas fa-heartbeat"></i> 健康运
                                </div>
                                <div class="filter-chip">
                                    <i class="fas fa-star"></i> 综合运
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 右侧筛选条件 -->
                    <div class="col-md-6">
                        <!-- 时间范围 -->
                        <div class="filter-group">
                            <label class="filter-label">时间范围</label>
                            <div class="filter-options">
                                <div class="filter-chip active">
                                    <i class="fas fa-clock"></i> 全部时间
                                </div>
                                <div class="filter-chip">
                                    <i class="fas fa-sun"></i> 今日运势
                                </div>
                                <div class="filter-chip">
                                    <i class="fas fa-calendar-day"></i> 本周运势
                                </div>
                                <div class="filter-chip">
                                    <i class="fas fa-calendar-week"></i> 本月运势
                                </div>
                                <div class="filter-chip">
                                    <i class="fas fa-calendar"></i> 本季度运势
                                </div>
                                <div class="filter-chip">
                                    <i class="fas fa-calendar-alt"></i> 年度运势
                                </div>
                                <div class="filter-chip">
                                    <i class="fas fa-calendar-check"></i> 自定义
                                </div>
                            </div>
                        </div>
                        
                        <!-- 自定义日期范围 -->
                        <div class="filter-group date-range-container" style="display: none;">
                            <label class="filter-label">自定义日期范围</label>
                            <div class="date-range">
                                <input type="date" class="date-input">
                                <input type="date" class="date-input">
                            </div>
                        </div>
                        
                        <!-- 运势来源 -->
                        <div class="filter-group">
                            <label class="filter-label">运势来源</label>
                            <div class="filter-options">
                                <div class="filter-chip active">
                                    <i class="fas fa-user-circle"></i> 全部来源
                                </div>
                                <div class="filter-chip">
                                    <i class="fas fa-certificate"></i> 专业占星师
                                </div>
                                <div class="filter-chip">
                                    <i class="fas fa-users"></i> 社区精选
                                </div>
                                <div class="filter-chip">
                                    <i class="fas fa-robot"></i> 智能分析
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <div class="filter-actions">
                    <button class="action-button btn-clear">清除筛选</button>
                    <button class="action-button btn-apply">应用筛选</button>
                </div>
            </section>
            
            <!-- 活跃筛选条件 -->
            <div class="active-filters">
                <div class="active-filter">
                    <span><i class="fas fa-heart"></i> 爱情运</span>
                    <span class="remove-filter"><i class="fas fa-times"></i></span>
                </div>
                <div class="active-filter">
                    <span><i class="fas fa-calendar-week"></i> 本月运势</span>
                    <span class="remove-filter"><i class="fas fa-times"></i></span>
                </div>
                <div class="active-filter">
                    <span><i class="fas fa-certificate"></i> 专业占星师</span>
                    <span class="remove-filter"><i class="fas fa-times"></i></span>
                </div>
            </div>
            
            <!-- 筛选结果区 -->
            <section>
                <div class="results-header">
                    <div class="results-count">找到 <strong>24</strong> 个符合条件的星座运程</div>
                    <div class="sort-options">
                        <span class="sort-label">排序方式:</span>
                        <select class="sort-select">
                            <option value="date">最新发布</option>
                            <option value="popular">最受欢迎</option>
                            <option value="accuracy">用户评分</option>
                            <option value="zodiac">星座顺序</option>
                        </select>
                    </div>
                </div>
                
                <div class="horoscope-container">
                    <!-- 星座1 -->
                    <article class="horoscope-card">
                        <div class="horoscope-header">
                            <div class="zodiac-icon" style="background-color: var(--aries);">
                                <i class="fas fa-fire"></i>
                            </div>
                            <div class="zodiac-info">
                                <h3>白羊座</h3>
                                <div class="zodiac-date">3月21日-4月19日</div>
                            </div>
                        </div>
                        <div class="horoscope-content">
                            <span class="prediction-date">2023年10月运势</span>
                            <p class="horoscope-description">
                                本月白羊座的爱情运会有显著提升，单身者有机会遇到心仪对象，已有伴侣的人感情更加稳定。中旬可能会有一次浪漫的惊喜约会。
                            </p>
                            <div class="fortunes">
                                <div class="fortune-item">
                                    <div class="fortune-label">爱情运</div>
                                    <div class="fortune-value">
                                        <i class="fas fa-star stars"></i>
                                        <i class="fas fa-star stars"></i>
                                        <i class="fas fa-star stars"></i>
                                        <i class="fas fa-star stars"></i>
                                        <i class="far fa-star stars"></i>
                                    </div>
                                </div>
                                <div class="fortune-item">
                                    <div class="fortune-label">事业运</div>
                                    <div class="fortune-value">
                                        <i class="fas fa-star stars"></i>
                                        <i class="fas fa-star stars"></i>
                                        <i class="fas fa-star stars"></i>
                                        <i class="far fa-star stars"></i>
                                        <i class="far fa-star stars"></i>
                                    </div>
                                </div>
                                <div class="fortune-item">
                                    <div class="fortune-label">财运</div>
                                    <div class="fortune-value">
                                        <i class="fas fa-star stars"></i>
                                        <i class="fas fa-star stars"></i>
                                        <i class="fas fa-star stars"></i>
                                        <i class="fas fa-star stars"></i>
                                        <i class="far fa-star stars"></i>
                                    </div>
                                </div>
                            </div>
                            <div class="tags">
                                <span class="tag">爱情运</span>
                                <span class="tag">本月</span>
                                <span class="tag">浪漫</span>
                            </div>
                            <div class="horoscope-meta">
                                <div class="author">
                                    <img src="https://picsum.photos/100/100?random=10" alt="占星师头像" class="author-avatar">
                                    <span>占星师莉莉</span>
                                </div>
                                <div class="horoscope-actions">
                                    <button class="action-btn like-btn">
                                        <i class="far fa-heart"></i>
                                        <span>128</span>
                                    </button>
                                    <button class="action-btn save-btn">
                                        <i class="far fa-bookmark"></i>
                                    </button>
                                </div>
                            </div>
                        </div>
                    </article>
                    
                    <!-- 星座2 -->
                    <article class="horoscope-card">
                        <div class="horoscope-header">
                            <div class="zodiac-icon" style="background-color: var(--taurus);">
                                <i class="fas fa-bull"></i>
                            </div>
                            <div class="zodiac-info">
                                <h3>金牛座</h3>
                                <div class="zodiac-date">4月20日-5月20日</div>
                            </div>
                        </div>
                        <div class="horoscope-content">
                            <span class="prediction-date">2023年10月运势</span>
                            <p class="horoscope-description">
                                本月金牛座在感情上需要更多的沟通和理解，避免因小事产生误会。下旬可能会收到来自伴侣的贵重礼物，增进彼此感情。
                            </p>
                            <div class="fortunes">
                                <div class="fortune-item">
                                    <div class="fortune-label">爱情运</div>
                                    <div class="fortune-value">
                                        <i class="fas fa-star stars"></i>
                                        <i class="fas fa-star stars"></i>
                                        <i class="fas fa-star stars"></i>
                                        <i class="far fa-star stars"></i>
                                        <i class="far fa-star stars"></i>
                                    </div>
                                </div>
                                <div class="fortune-item">
                                    <div class="fortune-label">事业运</div>
                                    <div class="fortune-value">
                                        <i class="fas fa-star stars"></i>
                                        <i class="fas fa-star stars"></i>
                                        <i class="fas fa-star stars"></i>
                                        <i class="fas fa-star stars"></i>
                                        <i class="far fa-star stars"></i>
                                    </div>
                                </div>
                                <div class="fortune-item">
                                    <div class="fortune-label">财运</div>
                                    <div class="fortune-value">
                                        <i class="fas fa-star stars"></i>
                                        <i class="fas fa-star stars"></i>
                                        <i class="fas fa-star stars"></i>
                                        <i class="fas fa-star stars"></i>
                                        <i class="fas fa-star stars"></i>
                                    </div>
                                </div>
                            </div>
                            <div class="tags">
                                <span class="tag">爱情运</span>
                                <span class="tag">本月</span>
                                <span class="tag">沟通</span>
                            </div>
                            <div class="horoscope-meta">
                                <div class="author">
                                    <img src="https://picsum.photos/100/100?random=11" alt="占星师头像" class="author-avatar">
                                    <span>星辰大师</span>
                                </div>
                                <div class="horoscope-actions">
                                    <button class="action-btn like-btn">
                                        <i class="fas fa-heart liked"></i>
                                        <span>96</span>
                                    </button>
                                    <button class="action-btn save-btn">
                                        <i class="far fa-bookmark"></i>
                                    </button>
                                </div>
                            </div>
                        </div>
                    </article>
                    
                    <!-- 星座3 -->
                    <article class="horoscope-card">
                        <div class="horoscope-header">
                            <div class="zodiac-icon" style="background-color: var(--gemini);">
                                <i class="fas fa-user-friends"></i>
                            </div>
                            <div class="zodiac-info">
                                <h3>双子座</h3>
                                <div class="zodiac-date">5月21日-6月21日</div>
                            </div>
                        </div>
                        <div class="horoscope-content">
                            <span class="prediction-date">2023年10月运势</span>
                            <p class="horoscope-description">
                                双子座本月在爱情方面会有新的机遇，社交场合中容易遇到投缘的人。已有伴侣者可以尝试一次短途旅行，增进双方感情。
                            </p>
                            <div class="fortunes">
                                <div class="fortune-item">
                                    <div class="fortune-label">爱情运</div>
                                    <div class="fortune-value">
                                        <i class="fas fa-star stars"></i>
                                        <i class="fas fa-star stars"></i>
                                        <i class="fas fa-star stars"></i>
                                        <i class="fas fa-star stars"></i>
                                        <i class="far fa-star stars"></i>
                                    </div>
                                </div>
                                <div class="fortune-item">
                                    <div class="fortune-label">事业运</div>
                                    <div class="fortune-value">
                                        <i class="fas fa-star stars"></i>
                                        <i class="fas fa-star stars"></i>
                                        <i class="far fa-star stars"></i>
                                        <i class="far fa-star stars"></i>
                                        <i class="far fa-star stars"></i>
                                    </div>
                                </div>
                                <div class="fortune-item">
                                    <div class="fortune-label">财运</div>
                                    <div class="fortune-value">
                                        <i class="fas fa-star stars"></i>
                                        <i class="fas fa-star stars"></i>
                                        <i class="fas fa-star stars"></i>
                                        <i class="far fa-star stars"></i>
                                        <i class="far fa-star stars"></i>
                                    </div>
                                </div>
                            </div>
                            <div class="tags">
                                <span class="tag">爱情运</span>
                                <span class="tag">本月</span>
                                <span class="tag">机遇</span>
                            </div>
                            <div class="horoscope-meta">
                                <div class="author">
                                    <img src="https://picsum.photos/100/100?random=12" alt="占星师头像" class="author-avatar">
                                    <span>宇宙奥秘</span>
                                </div>
                                <div class="horoscope-actions">
                                    <button class="action-btn like-btn">
                                        <i class="far fa-heart"></i>
                                        <span>156</span>
                                    </button>
                                    <button class="action-btn save-btn">
                                        <i class="fas fa-bookmark saved"></i>
                                    </button>
                                </div>
                            </div>
                        </div>
                    </article>
                    
                    <!-- 星座4 -->
                    <article class="horoscope-card">
                        <div class="horoscope-header">
                            <div class="zodiac-icon" style="background-color: var(--cancer);">
                                <i class="fas fa-crab"></i>
                            </div>
                            <div class="zodiac-info">
                                <h3>巨蟹座</h3>
                                <div class="zodiac-date">6月22日-7月22日</div>
                            </div>
                        </div>
                        <div class="horoscope-content">
                            <span class="prediction-date">2023年10月运势</span>
                            <p class="horoscope-description">
                                本月巨蟹座在感情上需要更多的安全感，与伴侣之间的坦诚沟通尤为重要。家庭聚会可能会带来意想不到的感情进展。
                            </p>
                            <div class="fortunes">
                                <div class="fortune-item">
                                    <div class="fortune-label">爱情运</div>
                                    <div class="fortune-value">
                                        <i class="fas fa-star stars"></i>
                                        <i class="fas fa-star stars"></i>
                                        <i class="fas fa-star stars"></i>
                                        <i class="far fa-star stars"></i>
                                        <i class="far fa-star stars"></i>
                                    </div>
                                </div>
                                <div class="fortune-item">
                                    <div class="fortune-label">事业运</div>
                                    <div class="fortune-value">
                                        <i class="fas fa-star stars"></i>
                                        <i class="fas fa-star stars"></i>
                                        <i class="fas fa-star stars"></i>
                                        <i class="fas fa-star stars"></i>
                                        <i class="far fa-star stars"></i>
                                    </div>
                                </div>
                                <div class="fortune-item">
                                    <div class="fortune-label">财运</div>
                                    <div class="fortune-value">
                                        <i class="fas fa-star stars"></i>
                                        <i class="fas fa-star stars"></i>
                                        <i class="far fa-star stars"></i>
                                        <i class="far fa-star stars"></i>
                                        <i class="far fa-star stars"></i>
                                    </div>
                                </div>
                            </div>
                            <div class="tags">
                                <span class="tag">爱情运</span>
                                <span class="tag">本月</span>
                                <span class="tag">家庭</span>
                            </div>
                            <div class="horoscope-meta">
                                <div class="author">
                                    <img src="https://picsum.photos/100/100?random=13" alt="占星师头像" class="author-avatar">
                                    <span>月亮姐姐</span>
                                </div>
                                <div class="horoscope-actions">
                                    <button class="action-btn like-btn">
                                        <i class="far fa-heart"></i>
                                        <span>87</span>
                                    </button>
                                    <button class="action-btn save-btn">
                                        <i class="far fa-bookmark"></i>
                                    </button>
                                </div>
                            </div>
                        </div>
                    </article>
                </div>
                
                <!-- 分页控件 -->
                <div class="pagination-container">
                    <div class="pagination">
                        <button class="page-btn disabled">
                            <i class="fas fa-chevron-left"></i>
                        </button>
                        <button class="page-btn active">1</button>
                        <button class="page-btn">2</button>
                        <button class="page-btn">3</button>
                        <button class="page-btn">4</button>
                        <button class="page-btn">5</button>
                        <button class="page-btn">
                            <i class="fas fa-chevron-right"></i>
                        </button>
                    </div>
                </div>
            </section>
        </div>
    </div>
    
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // 筛选芯片选择功能
            const filterChips = document.querySelectorAll('.filter-chip');
            filterChips.forEach(chip => {
                chip.addEventListener('click', function() {
                    // 如果是"全部"或"全部时间"等重置选项，取消同组其他选中状态
                    const parentGroup = this.closest('.filter-options');
                    const isResetOption = this.textContent.includes('全部');
                    
                    if (isResetOption) {
                        parentGroup.querySelectorAll('.filter-chip').forEach(c => {
                            c.classList.remove('active');
                        });
                        this.classList.add('active');
                    } else {
                        // 取消同组的"全部"选项选中状态
                        parentGroup.querySelectorAll('.filter-chip').forEach(c => {
                            if (c.textContent.includes('全部')) {
                                c.classList.remove('active');
                            }
                        });
                        // 切换当前选项状态
                        this.classList.toggle('active');
                    }
                    
                    // 处理自定义日期显示
                    if (this.textContent.includes('自定义')) {
                        document.querySelector('.date-range-container').style.display = 'block';
                    } else if (!this.textContent.includes('全部时间')) {
                        document.querySelector('.date-range-container').style.display = 'none';
                    }
                });
            });
            
            // 重置所有筛选
            const resetFiltersBtn = document.querySelector('.reset-filters');
            resetFiltersBtn.addEventListener('click', function() {
                // 重置所有筛选芯片
                document.querySelectorAll('.filter-chip').forEach(chip => {
                    if (chip.textContent.includes('全部')) {
                        chip.classList.add('active');
                    } else {
                        chip.classList.remove('active');
                    }
                });
                
                // 清空输入框
                document.querySelectorAll('.date-input').forEach(input => {
                    input.value = '';
                });
                
                // 隐藏自定义日期
                document.querySelector('.date-range-container').style.display = 'none';
                
                // 清空活跃筛选
                document.querySelector('.active-filters').innerHTML = '';
            });
            
            // 清除筛选按钮
            const clearFiltersBtn = document.querySelector('.btn-clear');
            clearFiltersBtn.addEventListener('click', function() {
                resetFiltersBtn.click();
            });
            
            // 应用筛选按钮
            const applyFiltersBtn = document.querySelector('.btn-apply');
            applyFiltersBtn.addEventListener('click', function() {
                // 这里可以添加筛选逻辑
                alert('筛选已应用，共找到24个符合条件的星座运程');
            });
            
            // 移除单个筛选条件
            const removeFilterBtns = document.querySelectorAll('.remove-filter');
            removeFilterBtns.forEach(btn => {
                btn.addEventListener('click', function() {
                    this.closest('.active-filter').remove();
                    
                    // 如果没有活跃筛选条件，隐藏整个容器
                    if (document.querySelector('.active-filters').children.length === 0) {
                        document.querySelector('.active-filters').style.display = 'none';
                    }
                });
            });
            
            // 点赞按钮功能
            const likeBtns = document.querySelectorAll('.like-btn');
            likeBtns.forEach(btn => {
                btn.addEventListener('click', function() {
                    this.classList.toggle('liked');
                    const icon = this.querySelector('i');
                    const countElem = this.querySelector('span');
                    
                    if (this.classList.contains('liked')) {
                        icon.classList.remove('far');
                        icon.classList.add('fas');
                        countElem.textContent = (parseInt(countElem.textContent) + 1).toString();
                    } else {
                        icon.classList.remove('fas');
                        icon.classList.add('far');
                        countElem.textContent = (parseInt(countElem.textContent) - 1).toString();
                    }
                });
            });
            
            // 收藏按钮功能
            const saveBtns = document.querySelectorAll('.save-btn');
            saveBtns.forEach(btn => {
                btn.addEventListener('click', function() {
                    this.classList.toggle('saved');
                    const icon = this.querySelector('i');
                    
                    if (this.classList.contains('saved')) {
                        icon.classList.remove('far');
                        icon.classList.add('fas');
                    } else {
                        icon.classList.remove('fas');
                        icon.classList.add('far');
                    }
                });
            });
            
            // 分页功能
            const pageBtns = document.querySelectorAll('.page-btn:not(.disabled)');
            pageBtns.forEach(btn => {
                if (!btn.querySelector('i')) { // 排除箭头按钮
                    btn.addEventListener('click', function() {
                        pageBtns.forEach(b => b.classList.remove('active'));
                        this.classList.add('active');
                    });
                }
            });
        });
    </script>
</body>
</html>
    
